
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue';
import router from './router';

// 2. 引入组件样式
import 'vant/lib/index.css';
// //移动端适配
// import "amfe-flexible/index";
import "normalize.css";



// 1. 引入你需要的组件
import { Button } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Card } from 'vant';
import { Dialog } from 'vant';
import { Overlay } from 'vant';
import { Cell, CellGroup } from 'vant';
import { Form, Field} from 'vant';
import { Divider } from 'vant';
import { NoticeBar } from 'vant';
import { Grid, GridItem } from 'vant';
import { Image as VanImage } from 'vant';
import { TextEllipsis } from 'vant';
import { Sidebar, SidebarItem } from 'vant';
import { DropdownMenu, DropdownItem } from 'vant';
import { FloatingBubble } from 'vant';
import { PullRefresh } from 'vant';
import { Cascader } from 'vant';
import { Popup } from 'vant';
import { Notify } from 'vant';
import { RadioGroup, Radio } from 'vant';
import { Popover } from 'vant';
import { Empty } from 'vant';
import { Loading } from 'vant';
const app = createApp(App)
app.use(createPinia())
app.use(router)
//注册组件
app.use(Card);
app.use(Button)
app.use(Tabbar);
app.use(TabbarItem);
app.use(Dialog);
app.use(Overlay);
app.use(Cell);
app.use(CellGroup);
app.use(Form);
app.use(Field);
app.use(Divider);
app.use(NoticeBar);
app.use(Grid);
app.use(GridItem);
app.use(VanImage);
app.use(TextEllipsis);
app.use(Sidebar);
app.use(SidebarItem);
app.use(DropdownMenu);
app.use(DropdownItem);
app.use(FloatingBubble);
app.use(PullRefresh);
app.use(Cascader);
app.use(Popup);
app.use(Notify);
app.use(RadioGroup);
app.use(Radio);
app.use(Popover);
app.use(Empty);
app.use(Loading);
app.mount('#app')
